package com.example.emos.wx.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@ApiModel("创建用户")
@Data
public class TestSayHelloForm {

    @NotBlank(message = "姓名不能为空")
//    @Pattern(regexp = "^[\\u4e00-\\u9fa5]{2,15}$",message = "姓名必须是2-15位中文")
    @ApiModelProperty("姓名")
    private String name;
}
